package com.copa.gamestore.module.user.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.copa.gamestore.common.domain.BaseEntity;
import lombok.Data;


/**
 * @author copa
 * @createDate 2022-09-21 21:33
 * @function
 */
@TableName("user")
@Data
public class User extends BaseEntity {

    private String username;

    private String password;

    private String realName;

    private Boolean isExpire;

    private Boolean isLock;

    private Boolean passwordExpire;

    private Boolean isEnable;

    @TableLogic
    private Boolean isDeleted;

    @Version
    private Integer version;
}
